package com.xy.modular.building.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xy.framework.base.dao.IBaseDao;
import com.xy.framework.base.service.BaseServiceImpl;
import com.xy.framework.exceptions.ValidateParamException;
import com.xy.modular.building.dao.UnitMapper;
import com.xy.modular.building.entity.Unit;
import com.xy.modular.building.service.IUnitService;

@Service("unitService")
public class UnitServiceImpl extends BaseServiceImpl<Unit, String> implements IUnitService {

	@Override
	public void validateEntity(Unit e) throws ValidateParamException {
		// TODO Auto-generated method stub

	}

	@Resource
	private UnitMapper unitMapper;

	@SuppressWarnings("rawtypes")
	@Override
	protected IBaseDao getBaseDao() {
		return this.unitMapper;
	}

}
